home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Tool Chest / Testing & Debugging / Virtual User / Virtual User Current Release / Examples / External Tool Templates / CPlus Tool Template / Application.r.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-04  |  2.7 KB  |  83 lines  |  [TEXT/MPS ]

  1. /*
  2.  *    File:        Application.r.h
  3.  *
  4.  *    Contains:    xxx put contents here xxx
  5.  *
  6.  *    Written by:    Rick Violet
  7.  *
  8.  *    Copyright:    © 1992 by Apple Computer, Inc., all rights reserved.
  9.  *
  10.  *    Change History (most recent first):
  11.  *
  12.  *         <2>     5/11/93    RV        Fixed resource ID conflict
  13.  *        <1+>     5/11/93    RV        Fix resource ID conflict
  14.  *                11/18/92    RV        xxx put comment here xxx
  15.  *
  16.  *    To Do:
  17.  */
  18.  
  19. #ifndef __ApplicationResources__
  20. #define __ApplicationResources__
  21.  
  22.  
  23. /*—————————————————————————————————————————————————————————————————————————————————————
  24.     These constants pertain to resource usage or definition.
  25.     
  26.     This file can be included by a Rez source file (.r) 
  27.                               or a C/C++ (.c/.cp) source file.
  28.                               
  29.     Constants which occur in both Rez & C/C++ sources are put here to prevent 
  30.     two definitions of a constant with differing values. This way there is
  31.     one definition, and only one value. 
  32. —————————————————————————————————————————————————————————————————————————————————————*/
  33.  
  34. #define kOwnerSignature            'MsgS'    /* Our application's creator type    */
  35.  
  36. /*—————————————————————————————————————————————————————————————————————————————————————
  37.     Application Partition size 
  38. */
  39. #define kPrefSize                512        /* Prefered App memory partition size */
  40. #define kMinSize                512        /* Minimum  App memory partition size */
  41.          
  42. /*—————————————————————————————————————————————————————————————————————————————————————
  43.     Menu ids & item indecies
  44. */
  45. #define    kMenuBarID                128        /* application's menu bar */
  46. #define    kAboutAlertID            128        /* about alert */
  47.  
  48. #define    kAppleMenuID            128        /* Apple menu */
  49. #define    kAboutItem                1            /* About item */
  50.  
  51. #define    kFileMenuID                129        /* File menu */
  52. #define    kQuitItem                1            /* Quit item */
  53.  
  54. /*SBR Hacked this in 05/23/94 */
  55. #define    kServicesMenuID            130        /* Services menu */
  56.  
  57. #define    kUserAlertID            129        /* generic user error alert */
  58.  
  59. /*—————————————————————————————————————————————————————————————————————————————————————
  60.     The following are indicies into our error STR# resource. 
  61. */
  62. #define kAppErrStrings            128        /* STR# id for External Tool error messages */
  63.  
  64. #define    kWrongMachineErr        1        /* Can't run on this CPU message */
  65. #define    kSmallSizeErr            2        /* Not enough memory message */
  66. #define    kWrongSysSWVers            3        /* System Software too young */
  67.     /*SBR Hacked this in from RequestDispatcher.r.h 10/16/94 */
  68. #define    kAppleEventVersionErr    4        /* Wrong version of Apple® Event Manager */
  69.     /*SBR Hacked this in 10/16/94 */
  70. #define    kAppInitFail            5        /* Wrong version of Apple® Event Manager */
  71. #define    kThreadVersionErr        6        /* Wrong version of Thread Manager */
  72.  
  73. #define kBeachBall_acur_ID        0        
  74. #define kBeachBall_CURS_1        128        
  75. #define kBeachBall_CURS_2        129        
  76. #define kBeachBall_CURS_3        130    
  77. #define kBeachBall_CURS_4        131    
  78.  
  79.  
  80.  
  81.  
  82. #endif
  83.